package com.jkl.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 服务器转发给客户端的申请
 * sender 发送者账号
 * username 发送者名字
 * content 发送申请的信息内容
 * buildTime 申请时间
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SCApplication {
    public String friendId;
    public String userName;
    public String content;
    public Long buildTime;

    public SCApplication(CSApplication application){
        this.friendId=application.getUserId();
        this.userName=application.getUserName();
        this.content=application.getContent();
        this.buildTime=application.getBuildTime();
    }
}
